package ooday02;

public class SuperDemo {
    public static void main(String[] args) {
        Student s=new Student("李华",25,"北京","计算机","20201209623");
        s.eat();
        s.sleep();
        s.study();
        s.sayHi();

        Doctor d=new Doctor("杨淑琴",45,"北京","副主任医师");
        d.eat();
        d.sleep();
        d.cut();
        d.sayHi();

        Teacher t=new Teacher("张芬",36,"北京",6523.24);
        t.eat();
        t.sleep();
        t.teach();
        t.sayHi();
    }
}
